using BaseData.ErrorCode;
using MediatR;

namespace BaseData.WriteApi.Application.Command.Roles
{
    /// <summary>
    /// 角色信息更新命令
    /// </summary>
    public class UpdateRoleCommand : IRequest<Apiresult<int>>
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId { get; set; }
        
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; } = string.Empty;
        
        /// <summary>
        /// 权限ID
        /// </summary>
        public int PermissionId { get; set; }
    }
}